#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__author__ = "Administrator"
__name__="hosts"
__date__="2016/8/12"
__time__="15:51"
"""
# 定义被监控主机组
import templates
g1 = templates.LinuxTemplate() # 实例化，创建对象
g1.group_name = 'Test groups'
g1.hosts = ['192.168.1.1','192.168.1.2']

#======

g2 = templates.LinuxTemplate()
g2.group_name = 'web services'
g2.hosts = ['10.0.0.1','10.0.0.2','10.0.0.3','192.168.1.1']

monitored_groups = [g1,g2]

